#ifndef STRAY_INTRUSIVE_PTR_H
#define STRAY_INTRUSIVE_PTR_H

#include <boost/intrusive_ptr.hpp>

namespace Stray {

template <typename T>
class IntrusivePtr
{
public:
	typedef boost::intrusive_ptr<T> type;
};

template <typename T>
void intrusive_ptr_add_ref(T *p)
{
	p->addRef();
}

template <typename T>
void intrusive_ptr_release(T *p)
{
	p->release();
}

}

#endif